package net.myspring.middle.domain;

import net.myspring.common.domain.TreeEntity;
import net.myspring.common.mybatis.provider.annotation.Entity;
import net.myspring.common.mybatis.provider.annotation.Table;
import org.springframework.data.annotation.Transient;

/**
 * Created by liuj on 16/7/10.
 */
@Entity
@Table(name="sys_department")
public class Department extends TreeEntity<Department> {
    private String name;
    private Boolean hidden = false;
    @Transient
    private String fullName;

    public String getFullName() {
        return fullName;
    }

    public void setFullName(String fullName) {
        this.fullName = fullName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Boolean getHidden() {
        return hidden;
    }

    public void setHidden(Boolean hidden) {
        this.hidden = hidden;
    }
}